﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _05月20日加减乘除
{
    class Add : Calculate
    {

        public int sum { get; set; }
        public override void Cal()
        {
            sum = A + B;

            Console.WriteLine("{0} + {1} = {2}", A, B, sum);
        }

    }
}
